<template>
  <div class="hello">
    <el-container>
      <el-header>
        <h3>21级软件二班 梁钊炜 学号：202153060218</h3>
      </el-header>
      <el-container>
        <el-aside width="200px">
          <el-menu
            router
            default-active="/"
            class="el-menu-vertical-demo"
            @open="handleOpen"
            @close="handleClose">
            <el-submenu index="/">
            <template slot="title">
              <i class="el-icon-location"></i>
              <span>Vue学习内容</span>
            </template>
            <el-menu-item-group>
              <el-menu-item index="/"><i class="el-icon-data-analysis"></i>Echarts图表</el-menu-item>
              <el-menu-item index="/table"><i class="el-icon-date"></i>Table表格</el-menu-item>
              <el-menu-item index="/button"><i class="el-icon-turn-off"></i>Button按钮</el-menu-item>
              <el-menu-item index="/carousel"><i class="el-icon-picture-outline"></i>Carousel走马灯</el-menu-item>
            </el-menu-item-group>
          </el-submenu>
          </el-menu>
        </el-aside>
        <el-main>
          <router-view/>
        </el-main>
      </el-container>
    </el-container>
  </div>
</template>

<script>
export default {
  data () {
    return {
      
    }
  }
}
</script>

<style scoped>
.el-header, .el-footer {
    background-color: #409EFF;
    color: #ffffff;  
  }
  
  .el-aside {
    background-color: #D3DCE6;
    color: #333;
    text-align: center;
    line-height: 200px;
  }
  
  .el-main {
    background-color: #E9EEF3;
    color: #333;
    text-align: center;
    min-height: 650px;
  }
  
  body > .el-container {
    margin-bottom: 40px;
  }
  
  .el-container:nth-child(5) .el-aside,
  .el-container:nth-child(6) .el-aside {
    line-height: 260px;
  }
  
  .el-container:nth-child(7) .el-aside {
    line-height: 320px;
  }
</style>
